package com.kfm.hotel.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.github.pagehelper.PageInfo;
import com.github.yulichang.extension.mapping.base.MPJDeepService;
import com.kfm.hotel.domain.Room;
import com.baomidou.mybatisplus.extension.service.IService;
import com.kfm.hotel.domain.RoomType;

import java.util.List;

/**
* @author Lenovo
* @description 针对表【room】的数据库操作Service
* @createDate 2023-06-16 21:24:06
*/
public interface RoomService extends MPJDeepService<Room> {
    //分页功能
    PageInfo<Room> list(Room room, Integer page, Integer limit);
    boolean updateState(Integer id,Integer state);

//    List<RoomType> getRoomTypes();
}
